package com.edu.zut.hb.software.server.mapper;

import com.edu.zut.hb.software.server.pojo.Student;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 * @since 2021-08-15
 */
public interface StudentMapper extends BaseMapper<Student> {


    /**
     * 获取单个学生信息
     * @return
     */
    List<Student> getOneStudent(String name);
    /**
     * 获得班级学生信息
     * @param clazz
     * @return
     */
    List<Student> getOneClassmate(String clazz);
}
